package sip

import (
	"fmt"
)

type Session struct {
	CallID string
	From   string
	To     string

	KV map[string]interface{}
}

func (session *Session) String() string {
	return fmt.Sprintf("SIP Session Call-ID[%s] From[%s] To[%s]", session.CallID, session.From, session.To)
}

func (session *Session) ID() string {
	return fmt.Sprintf("%s:%s:%s", session.CallID, session.From, session.To)
}
